
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>1.4 ifame & audio & video · gitbook电子书</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-toggle-chapters/toggle.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../css/" />
    
    
    <link rel="prev" href="3.表单.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="../使用/使用.html">
            
                <a href="../使用/使用.html">
            
                    
                    md语法 & gitbook使用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../面试题/面试题.html">
            
                <a href="../面试题/面试题.html">
            
                    
                    面试题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../面试题/html.html">
            
                <a href="../面试题/html.html">
            
                    
                    HTML
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../面试题/css.html">
            
                <a href="../面试题/css.html">
            
                    
                    CSS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../面试题/js.html">
            
                <a href="../面试题/js.html">
            
                    
                    JavaScript
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../面试题/vue.html">
            
                <a href="../面试题/vue.html">
            
                    
                    Vue
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../面试题/小程序.html">
            
                <a href="../面试题/小程序.html">
            
                    
                    小程序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../面试题/编程题.html">
            
                <a href="../面试题/编程题.html">
            
                    
                    编程题
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="./">
            
                <a href="./">
            
                    
                    1. HTML
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="1.常用标签.html">
            
                <a href="1.常用标签.html">
            
                    
                    1.1 常用标签
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="2.列表.html">
            
                <a href="2.列表.html">
            
                    
                    1.2 列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="3.表单.html">
            
                <a href="3.表单.html">
            
                    
                    1.3 表单属性
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3.4" data-path="4.音频&视频.html">
            
                <a href="4.音频&视频.html">
            
                    
                    1.4 ifame & audio & video
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../css/">
            
                <a href="../css/">
            
                    
                    2. CSS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../css/1.选择器.html">
            
                <a href="../css/1.选择器.html">
            
                    
                    2.1 选择器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../css/2.字体样式.html">
            
                <a href="../css/2.字体样式.html">
            
                    
                    2.2 字体样式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../css/3.背景.html">
            
                <a href="../css/3.背景.html">
            
                    
                    2.3 背景
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../css/4.盒子模型.html">
            
                <a href="../css/4.盒子模型.html">
            
                    
                    2.4 盒子模型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../css/5.浮动.html">
            
                <a href="../css/5.浮动.html">
            
                    
                    2.5 浮动
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../css/6.定位和渐变.html">
            
                <a href="../css/6.定位和渐变.html">
            
                    
                    2.6 定位 & 渐变
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../css/7.过渡&变形.html">
            
                <a href="../css/7.过渡&变形.html">
            
                    
                    2.7 过渡 & 变形
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="../css/8.动画.html">
            
                <a href="../css/8.动画.html">
            
                    
                    2.8 动画
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="../css/9.滤镜.html">
            
                <a href="../css/9.滤镜.html">
            
                    
                    2.9 滤镜
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="../css/10.布局.html">
            
                <a href="../css/10.布局.html">
            
                    
                    2.10 布局
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../JS/">
            
                <a href="../JS/">
            
                    
                    3. JS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../JS/数据类型.html">
            
                <a href="../JS/数据类型.html">
            
                    
                    3.1 数据类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../JS/语句.html">
            
                <a href="../JS/语句.html">
            
                    
                    操作符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../JS/操作符.html">
            
                <a href="../JS/操作符.html">
            
                    
                    语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../JS/函数.html">
            
                <a href="../JS/函数.html">
            
                    
                    函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../JS/基本类型和引用类型的值.html">
            
                <a href="../JS/基本类型和引用类型的值.html">
            
                    
                    基本类型和引用类型的值
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="../JS/执行环境及作用域.html">
            
                <a href="../JS/执行环境及作用域.html">
            
                    
                    执行环境及作用域
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="../JS/垃圾收集.html">
            
                <a href="../JS/垃圾收集.html">
            
                    
                    垃圾收集
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="../JS/Object类型.html">
            
                <a href="../JS/Object类型.html">
            
                    
                    Object类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="../JS/Array类型.html">
            
                <a href="../JS/Array类型.html">
            
                    
                    Array类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="../JS/Date类型.html">
            
                <a href="../JS/Date类型.html">
            
                    
                    Date类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="../JS/string&array.html">
            
                <a href="../JS/string&array.html">
            
                    
                    3.2 String & Array
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="../JS/date.html">
            
                <a href="../JS/date.html">
            
                    
                    3.3 Date类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="../JS/正则表达式.html">
            
                <a href="../JS/正则表达式.html">
            
                    
                    3.4 RegExp类型
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="../JS/global&math.html">
            
                <a href="../JS/global&math.html">
            
                    
                    3.5 Global对象 & Math对象
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.15" data-path="../JS/变量&作用域&垃圾收集.html">
            
                <a href="../JS/变量&作用域&垃圾收集.html">
            
                    
                    3.6 变量 & 作用域 & 垃圾收集
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.16" data-path="../JS/流程控制&函数.html">
            
                <a href="../JS/流程控制&函数.html">
            
                    
                    3.7 流程控制 & 函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.17" data-path="../JS/面向对象.html">
            
                <a href="../JS/面向对象.html">
            
                    
                    3.8 面向对象的程序设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.18" data-path="../JS/递归&冒泡&快速.html">
            
                <a href="../JS/递归&冒泡&快速.html">
            
                    
                    3.9 递归 & 冒泡 & 快速
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.19" data-path="../JS/定时器&防抖&节流.html">
            
                <a href="../JS/定时器&防抖&节流.html">
            
                    
                    3.10 定时器\防抖\节流
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.20" data-path="../JS/DOM获取&DOM操作.html">
            
                <a href="../JS/DOM获取&DOM操作.html">
            
                    
                    3.11 DOM获取 & DOM操作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.21" data-path="../JS/键盘事件&鼠标事件.html">
            
                <a href="../JS/键盘事件&鼠标事件.html">
            
                    
                    3.12 键盘事件 & 鼠标事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.22" data-path="../JS/事件冒泡&事件代理&事件绑定.html">
            
                <a href="../JS/事件冒泡&事件代理&事件绑定.html">
            
                    
                    3.13 事件冒泡\代理\绑定
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.23" data-path="../JS/this指向.html">
            
                <a href="../JS/this指向.html">
            
                    
                    3.14 this指向
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.24" data-path="../JS/Ajax&跨域.html">
            
                <a href="../JS/Ajax&跨域.html">
            
                    
                    3.15 Ajax & 跨域
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.25" data-path="../JS/Bom.html">
            
                <a href="../JS/Bom.html">
            
                    
                    3.16 BOM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.26" data-path="../JS/ES6.html">
            
                <a href="../JS/ES6.html">
            
                    
                    3.17 ES6
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.27" data-path="../JS/js实例.html">
            
                <a href="../JS/js实例.html">
            
                    
                    3.18 js实例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../vue/">
            
                <a href="../vue/">
            
                    
                    4. Vue
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../vue/1.基础.html">
            
                <a href="../vue/1.基础.html">
            
                    
                    4.1 基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../vue/2.生命周期.html">
            
                <a href="../vue/2.生命周期.html">
            
                    
                    4.2 生命周期
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../vue/3.vuex.html">
            
                <a href="../vue/3.vuex.html">
            
                    
                    4.3 vuex
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../vue/4.原理.html">
            
                <a href="../vue/4.原理.html">
            
                    
                    4.4 深入响应式原理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../vue/5.组件.html">
            
                <a href="../vue/5.组件.html">
            
                    
                    4.5 组件进阶
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../vue/6.规模化.html">
            
                <a href="../vue/6.规模化.html">
            
                    
                    4.6 规模化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../vue/7.过渡&动画.html">
            
                <a href="../vue/7.过渡&动画.html">
            
                    
                    4.7 过渡 & 动画
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.8" data-path="../vue/8.可复用性&组合.html">
            
                <a href="../vue/8.可复用性&组合.html">
            
                    
                    4.8 可复用性 & 组合
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.9" data-path="../vue/9.工具.html">
            
                <a href="../vue/9.工具.html">
            
                    
                    4.9 工具
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../Node/">
            
                <a href="../Node/">
            
                    
                    5. Node
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../插件/">
            
                <a href="../插件/">
            
                    
                    插件
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >1.4 ifame & audio & video</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="ifame&#x3001;audio&#x3001;video">ifame&#x3001;audio&#x3001;video</h1>
<table>
<thead>
<tr>
<th style="text-align:center">audio</th>
<th style="text-align:center">&#x4F7F;&#x7528;&#x97F3;&#x9891;&#x7684;&#x6807;&#x7B7E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">src</td>
<td style="text-align:center">&#x5F15;&#x5165;&#x8D44;&#x6E90;</td>
</tr>
<tr>
<td style="text-align:center">controls</td>
<td style="text-align:center">&#x63A7;&#x5236;&#x9762;&#x677F;&#xFF08;&#x5728;&#x4E0D;&#x540C;&#x7684;&#x6D4F;&#x89C8;&#x5668;&#x4E0B;&#xFF0C;&#x6837;&#x5F0F;&#x4F1A;&#x6709;&#x6240;&#x4E0D;&#x540C;&#xFF09;&#x5C5E;&#x6027;&#x503C;&#x53EF;&#x4E0D;&#x5199;</td>
</tr>
<tr>
<td style="text-align:center">autoplay</td>
<td style="text-align:center">&#x81EA;&#x52A8;&#x64AD;&#x653E;</td>
</tr>
<tr>
<td style="text-align:center">preload</td>
<td style="text-align:center">&#x9884;&#x52A0;&#x8F7D;</td>
</tr>
<tr>
<td style="text-align:center">muted</td>
<td style="text-align:center">&#x9759;&#x97F3;</td>
</tr>
<tr>
<td style="text-align:center">volume</td>
<td style="text-align:center">&#x97F3;&#x91CF;(js&#x63A7;&#x5236;)</td>
</tr>
</tbody>
</table>
<pre><code class="lang-html">    <span class="hljs-tag">&lt;<span class="hljs-name">audio</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;media/music.mp3&quot;</span> <span class="hljs-attr">controls</span> <span class="hljs-attr">autoplay</span> <span class="hljs-attr">preload</span> <span class="hljs-attr">muted</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">audio</span>&gt;</span>
    <span class="hljs-comment">&lt;!--
        &#x517C;&#x5BB9;&#x591A;&#x79CD;&#x683C;&#x5F0F;&#x6587;&#x4EF6;&#x7684;&#x5199;&#x6CD5;
        source&#x6807;&#x7B7E;&#x7528;&#x4E8E;&#x5F15;&#x5165;&#x8D44;&#x6E90;&#x4F7F;&#x7528;
        -type &#x89C4;&#x5B9A;&#x6587;&#x4EF6;&#x7684;&#x7C7B;&#x578B;

    --&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">audio</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;880&quot;</span> <span class="hljs-attr">controls</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;media/ogg.mp3&quot;</span> <span class="hljs-attr">type</span>=<span class="hljs-string">&quot;audio/mp3&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">source</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;media/ogg.ogg&quot;</span> <span class="hljs-attr">type</span>=<span class="hljs-string">&quot;audio/ogg&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">source</span>&gt;</span>
        &#x5F53;&#x524D;&#x6D4F;&#x89C8;&#x5668;&#x4E0D;&#x652F;&#x6301;audio&#x76F4;&#x63A5;&#x64AD;&#x653E;&#xFF0C;&#x70B9;&#x51FB;&#x8FD9;&#x91CC;&#x4E0B;&#x8F7D;&#x89C6;&#x9891;&#xFF1A;
        <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">&quot;myvideo.webm&quot;</span>&gt;</span>&#x4E0B;&#x8F7D;&#x89C6;&#x9891;<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>    
    <span class="hljs-tag">&lt;/<span class="hljs-name">audio</span>&gt;</span>
    <span class="hljs-comment">&lt;!--
        &#x683C;&#x5F0F;&#x5DE5;&#x5382;&#x7B49;&#x538B;&#x7F29;&#x5DE5;&#x5177;&#x7684;&#x9ED8;&#x8BA4;&#x8BBE;&#x7F6E;&#x672A;&#x5FC5;&#x9002;&#x5408;&#x6D4F;&#x89C8;&#x5668;&#x4F7F;&#x7528;

        &#x6D4F;&#x89C8;&#x5668;&#x5BF9;mp4&#x7684;&#x7F16;&#x7801;&#x65B9;&#x5F0F;&#x8981;&#x6C42;&#x7684;&#x975E;&#x5E38;&#x4E25;&#x683C;
        &#x89C6;&#x9891;&#x7F16;&#x7801;&#x5FC5;&#x987B;&#x662F;H.264
        &#x97F3;&#x9891;&#x7F16;&#x7801;&#x5FC5;&#x987B;&#x662F;&#xFF1A;AAC
    --&gt;</span>
    <span class="hljs-comment">&lt;!--
        video   &#x4F7F;&#x7528;&#x89C6;&#x9891;&#x7684;&#x6807;&#x7B7E;
        -src   &#x5F15;&#x5165;&#x8D44;&#x6E90;
        -controls &#x63A7;&#x5236;&#x9762;&#x677F;&#xFF08;&#x5728;&#x4E0D;&#x540C;&#x7684;&#x6D4F;&#x89C8;&#x5668;&#x4E0B;&#xFF0C;&#x6837;&#x5F0F;&#x4F1A;&#x6709;&#x6240;&#x4E0D;&#x540C;&#xFF09;&#x5C5E;&#x6027;&#x503C;&#x53EF;&#x4E0D;&#x5199;
        -autoplay &#x81EA;&#x52A8;&#x64AD;&#x653E;
        -preload  &#x9884;&#x52A0;&#x8F7D;
        -muted    &#x9759;&#x97F3;
    --&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">video</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;800&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;&quot;</span> <span class="hljs-attr">controls</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;media/video.flv&quot;</span> <span class="hljs-attr">type</span>=<span class="hljs-string">&quot;video/flv&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">source</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;media/video.mp4&quot;</span><span class="hljs-string">type=&quot;video</span>/<span class="hljs-attr">mp4</span>&quot;&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">source</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;media/video.webm&quot;</span> <span class="hljs-attr">type</span>=<span class="hljs-string">&quot;video/webm&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">source</span>&gt;</span>

        &#x5F53;&#x524D;&#x6D4F;&#x89C8;&#x5668;&#x4E0D;&#x652F;&#x6301;video&#x76F4;&#x63A5;&#x64AD;&#x653E;&#xFF0C;&#x70B9;&#x51FB;&#x8FD9;&#x91CC;&#x4E0B;&#x8F7D;&#x89C6;&#x9891;&#xFF1A;
        <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">&quot;myvideo.webm&quot;</span>&gt;</span>&#x4E0B;&#x8F7D;&#x89C6;&#x9891;<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">video</span>&gt;</span>
</code></pre>
<blockquote>
<p>ifame&#x53EF;&#x4EE5;&#x5F15;&#x5165;&#x5176;&#x4ED6;&#x9875;&#x9762;&#x6765;&#x4F7F;&#x7528;&#x7684;&lt;/br&gt;<br>&#x4F8B;&#x5982;&#xFF1A;&#x5730;&#x56FE;&#x7EC4;&#x4EF6;&#x3001;&#x5BA2;&#x670D;&#x7CFB;&#x7EDF;&#x7B49;&#x7B2C;&#x4E09;&#x65B9;&#x5DE5;&#x5177;&lt;/br&gt;<br>&#x6BD5;&#x7ADF;&#x662F;&#x5F15;&#x5165;&#x522B;&#x4EBA;&#x7684;&#x9875;&#x9762;&#xFF0C;&#x6240;&#x4EE5;&#x6709;&#x4E9B;&#x6837;&#x5F0F;&#x6216;&#x529F;&#x80FD;&#x4E0D;&#x80FD;&#x4FEE;&#x6539;    </p>
</blockquote>
<pre><code class="lang-html">    <span class="hljs-tag">&lt;<span class="hljs-name">iframe</span> <span class="hljs-attr">src</span>=<span class="hljs-string">&quot;&#x4E8C;&#x7EA7;&#x9875;&#x9762;.html&quot;</span> <span class="hljs-attr">width</span>=<span class="hljs-string">&quot;400&quot;</span> <span class="hljs-attr">height</span>=<span class="hljs-string">&quot;300&quot;</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">iframe</span>&gt;</span>
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="3.表单.html" class="navigation navigation-prev " aria-label="Previous page: 1.3 表单属性">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../css/" class="navigation navigation-next " aria-label="Next page: 2. CSS">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"1.4 ifame & audio & video","level":"1.3.4","depth":2,"next":{"title":"2. CSS","level":"1.4","depth":1,"path":"css/README.md","ref":"css/README.md","articles":[{"title":"2.1 选择器","level":"1.4.1","depth":2,"path":"css/1.选择器.md","ref":"css/1.选择器.md","articles":[]},{"title":"2.2 字体样式","level":"1.4.2","depth":2,"path":"css/2.字体样式.md","ref":"css/2.字体样式.md","articles":[]},{"title":"2.3 背景","level":"1.4.3","depth":2,"path":"css/3.背景.md","ref":"css/3.背景.md","articles":[]},{"title":"2.4 盒子模型","level":"1.4.4","depth":2,"path":"css/4.盒子模型.md","ref":"css/4.盒子模型.md","articles":[]},{"title":"2.5 浮动","level":"1.4.5","depth":2,"path":"css/5.浮动.md","ref":"css/5.浮动.md","articles":[]},{"title":"2.6 定位 & 渐变","level":"1.4.6","depth":2,"path":"css/6.定位和渐变.md","ref":"css/6.定位和渐变.md","articles":[]},{"title":"2.7 过渡 & 变形","level":"1.4.7","depth":2,"path":"css/7.过渡&变形.md","ref":"css/7.过渡&变形.md","articles":[]},{"title":"2.8 动画","level":"1.4.8","depth":2,"path":"css/8.动画.md","ref":"css/8.动画.md","articles":[]},{"title":"2.9 滤镜","level":"1.4.9","depth":2,"path":"css/9.滤镜.md","ref":"css/9.滤镜.md","articles":[]},{"title":"2.10 布局","level":"1.4.10","depth":2,"path":"css/10.布局.md","ref":"css/10.布局.md","articles":[]}]},"previous":{"title":"1.3 表单属性","level":"1.3.3","depth":2,"path":"html/3.表单.md","ref":"html/3.表单.md","articles":[]},"dir":"ltr"},"config":{"plugins":["toggle-chapters","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"toggle-chapters":{},"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"gitbook电子书","gitbook":"*","description":"记录前端相关的知识点以及一些示例的demo"},"file":{"path":"html/4.音频&视频.md","mtime":"2019-09-02T09:20:43.597Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-09-06T08:37:43.293Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-toggle-chapters/toggle.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

